/*
 * @Description:差旅标准路由
 * @Version: 2.0
 * @Autor: 许国辉
 * @Date: 2022-11-27 13:58:46
 * @LastEditors: 许国辉
 * @LastEditTime: 2022-12-03 14:17:24
 */
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const TravelStandards: AppRouteModule = {
  path: '/travelStandards',
  name: 'TravelStandards',
  component: LAYOUT,
  redirect: '/travelStandards/index',
  meta: {
    orderNo: 12,
    icon: 'ion:barcode-sharp',
    title: '所内差旅标准配置',
  },
  children: [
    {
      path: 'travelCriterionSet',
      name: 'TravelCriterionSet',
      meta: {
        title: '通用差旅标准配置',
        ignoreKeepAlive: true,
      },
      component: () => import('/@/views/travelCriterion/travelCriterionSet.vue'),
    },
    {
      path: 'hotelCitySet',
      name: 'HotelCitySet',
      meta: {
        title: '酒店城市配置',
        ignoreKeepAlive: true,
      },
      component: () => import('/@/views/travelCriterion/hotelCitySet.vue'),
    },
  ],
};

export default TravelStandards;
